package com.cloud.api.domain.report;

import com.baomidou.mybatisplus.annotation.TableField;
import com.cloud.api.utils.ExcelUtils;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author 杨斌
 * 2025-01-2025-01-16
 */
@Data

@NoArgsConstructor
@AllArgsConstructor
@ExcelUtils.ExcelSheet(watermark = @ExcelUtils.Watermark(type = 0)
)
@Schema(description = "车型运行情况导出数据")
public class VehicleModelCondition implements Serializable {

    @Schema(description = "公告型号")
    @TableField("notice_model")
    @ExcelUtils.ExcelExport(name = "table.field.noticeModel",columnWidth = 18)
    private String noticeModel;

    @Schema(description = "总行驶里程(公里)")
    @ExcelUtils.ExcelExport(name = "table.field.runningMileageSum")
    private Double runningMileageSum;

    @Schema(description = "运行车辆数(辆)")
    @ExcelUtils.ExcelExport(name = "table.field.vehicleRunCount")
    private String vehicleCount;

    @Schema(description = "单车月均行驶总里程(公里)")
    @ExcelUtils.ExcelExport(name = "table.field.averageMileage")
    private Double averageMileage;
}
